package Method;

import Book.BookList;

//显示图书
public class ShowOperation implements IOperation{
    @Override
    public void work(BookList bookList) {
        System.out.println("藏书展示！");
        System.out.println("****************************");
        for(int i=0;i< bookList.getBooksNum();i++) {
            System.out.println(bookList.getBook(i));
        }
    }
}
